home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xt / XtConfigureWidget.z / XtConfigureWidget
Text File  |  1998-10-30  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXttttCCCCoooonnnnffffiiiigggguuuurrrreeeeWWWWiiiiddddggggeeeetttt((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttCCCCoooonnnnffffiiiigggguuuurrrreeeeWWWWiiiiddddggggeeeetttt((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtConfigureWidget, XtMoveWidget, XtResizeWidget - move and
  10.           resize widgets
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           void XtConfigureWidget(_w, _x, _y, _w_i_d_t_h, _h_e_i_g_h_t, _b_o_r_d_e_r__w_i_d_t_h)
  14.                 Widget _w;
  15.                 Position _x;
  16.                 Position _y;
  17.                 Dimension _w_i_d_t_h;
  18.                 Dimension _h_e_i_g_h_t;
  19.                 Dimension _b_o_r_d_e_r__w_i_d_t_h;
  20.  
  21.           void XtMoveWidget(_w, _x, _y)
  22.                 Widget _w;
  23.                 Position _x;
  24.                 Position _y;
  25.  
  26.           void XtResizeWidget(_w, _w_i_d_t_h, _h_e_i_g_h_t, _b_o_r_d_e_r__w_i_d_t_h)
  27.                 Widget _w;
  28.                 Dimension _w_i_d_t_h;
  29.                 Dimension _h_e_i_g_h_t;
  30.                 Dimension _b_o_r_d_e_r__w_i_d_t_h;
  31.  
  32.           void XtResizeWindow(_w)
  33.                 Widget _w;
  34.  
  35.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  36.           _w_i_d_t_h
  37.           _h_e_i_g_h_t
  38.           _b_o_r_d_e_r__w_i_d_t_h
  39.                     Specify the new widget size.
  40.  
  41.           _w         Specifies the widget.
  42.  
  43.           _x
  44.           _y         Specify the new widget x and y coordinates.
  45.  
  46.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  47.           The _X_t_C_o_n_f_i_g_u_r_e_W_i_d_g_e_t function returns immediately if the
  48.           specified geometry fields are the same as the old values.
  49.           Otherwise, _X_t_C_o_n_f_i_g_u_r_e_W_i_d_g_e_t writes the new x, y, width,
  50.           height, and border_width values into the widget and, if the
  51.           widget is realized, makes an Xlib _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w call on
  52.           the widget's window.
  53.  
  54.           If either the new width or height is different from its old
  55.           value, _X_t_C_o_n_f_i_g_u_r_e_W_i_d_g_e_t calls the widget's resize procedure
  56.           to notify it of the size change; otherwise, it simply
  57.           returns.
  58.  
  59.           The _X_t_M_o_v_e_W_i_d_g_e_t function returns immediately if the
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXttttCCCCoooonnnnffffiiiigggguuuurrrreeeeWWWWiiiiddddggggeeeetttt((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttCCCCoooonnnnffffiiiigggguuuurrrreeeeWWWWiiiiddddggggeeeetttt((((3333XXXXtttt))))
  71.  
  72.  
  73.  
  74.           specified geometry fields are the same as the old values.
  75.           Otherwise, _X_t_M_o_v_e_W_i_d_g_e_t writes the new x and y values into
  76.           the widget and, if the widget is realized, issues an Xlib
  77.           _X_M_o_v_e_W_i_n_d_o_w call on the widget's window.
  78.  
  79.           The _X_t_R_e_s_i_z_e_W_i_d_g_e_t function returns immediately if the
  80.           specified geometry fields are the same as the old values.
  81.           Otherwise, _X_t_R_e_s_i_z_e_W_i_d_g_e_t writes the new width, height, and
  82.           border_width values into the widget and, if the widget is
  83.           realized, issues an _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w call on the widget's
  84.           window.
  85.  
  86.           If the new width or height are different from the old
  87.           values, _X_t_R_e_s_i_z_e_W_i_d_g_e_t calls the widget's resize procedure
  88.           to notify it of the size change.
  89.  
  90.           The _X_t_R_e_s_i_z_e_W_i_n_d_o_w function calls the _X_C_o_n_f_i_g_u_r_e_W_i_n_d_o_w Xlib
  91.           function to make the window of the specified widget match
  92.           its width, height, and border width. This request is done
  93.           unconditionally because there is no way to tell if these
  94.           values match the current values.  Note that the widget's
  95.           resize procedure is not called.
  96.  
  97.           There are very few times to use _X_t_R_e_s_i_z_e_W_i_n_d_o_w; instead, you
  98.           should use _X_t_R_e_s_i_z_e_W_i_d_g_e_t.
  99.  
  100.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  101.           XtMakeGeometryRequest(3Xt), XtQueryGeometry(3Xt)
  102.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  103.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.